{% load static %}
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title></title>
    <link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.css' %}"/>
</head>
<body>
<div class="container">
    <div class="row" style="margin-top: 60px;">
        <h1 class="text-center">客户信息录入</h1>
        <form class="form-horizontal" method="post">
            <div class="form-group">
                <label for="uname" class="col-sm-2 control-label">客户名称</label>
                <div class="col-sm-10">
                    <input type='text' class="form-control" id="uname" name="uname" placeholder="请输入客户名称">
                </div>
            </div>
            <div class="form-group">
                <label for="uname" class="col-sm-2 control-label">手机号码</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" id="uname" name="uphone" placeholder="请输入手机号码">
                </div>
            </div>
            <div class="form-group">
                <label for="uname" class="col-sm-2 control-label">客户来源</label>
                <div class="col-sm-10">
                    <select name="sources" class="form-control">
                        <option value="请选择来源">请选择来源</option>
                        {% for all in all_s %}
                            <option value="{{ all.id }}">{{ all.S_name }}</option>
                        {% endfor %}
                    </select>
                </div>
                <label for="uname" class="col-sm-2 control-label">客户来源</label>

                <div class="col-sm-10">
                    <select name="Accounts" class="form-control">
                        <option value="请选择来源">请选择业务员</option>
                        {% for all in all_c %}
                            <option value="{{ all.id }}">{{ all.A_name }}</option>
                        {% endfor %}
                    </select>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-primary btn-block">录入</button>
                </div>
            </div>
        </form>
    </div>
</div>
</body>
</html>
